package com.example.shop.service;

import com.example.shop.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {
    User finduser(User user);
    int update(User user);
    int delete(int id);

    List<User> findByMul(Integer id, String username, String tel, String email);

    int InsertUser(User user);

    List<User> findPage(int pageSize, int pageNum);

    int totalUser();
    User findByUsername(String username);

    int SetTxUrl(String username, String finalPath);
}
